<div id='connectionsMenu' class='components'>
    <div class='title'> Connections </div>
    <ul> 
        <% for (var i in menu) { %>
            <li class='connectionsMenuName' > 
                 <span><%=menu[i].name%></span>
                 <span></span>
                 <span <%if(parseInt(menu[i].type) == 1) {%>class="lockedIco"<% } %> ></span>
            </li>
        <% } %>
    </ul>
</div>